/*
* 高速勤务
* */
(function () {
    // 勤务监控
    var realJQ = { policeCaseNum:20, todoPoliceCaseNum:1};
    var dataExpresswaySummary = { // 高速运行概括
        policeCaseNum: 20,
        todoPoliceCaseNum: 3,

        constructionNum: 5,
        mileage: 3.2,

        openGatesNum: 45,
        offGatesNum: 7,
    };

    var dataExpresswayTrafficFlow = { // 高速交通流量
        timeList: ['10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00'],
        lastWeek: [10, 23, 43, 32, 16, 45, 12],
        nowWeek: [30, 14, 32],
    };
    var dataSafetyWarningLine = { // 安全风险预警折线图
        timeList: ['10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00'],
        lastWeek: [30, 13, 23, 42, 26, 15, 32],
        nowWeek: [40, 10],
        allNum:100,
        lstCurrent:[
            {num: 30, name: '青银高速'},
            {num: 14, name: '青新高速'},
            {num: 10, name: '威青高速'},
            {num: 9, name: '沈海高速'},
        ],
    };

    var dataSafetyWarninList = [ //安全风险预警表格
        {warningTime: "06:00", highSpeedName: '青银高速', detailLocation: "K300上行", trafficFlow: 603, largeCarRate: 0.39,
            range: '120.42623,36.29153,120.44567,36.31092,120.46617,36.31567,120.48374,36.32747,120.49184,36.35625,120.49425,36.38969'},
        {warningTime: "07:00", highSpeedName: '青银高速', detailLocation: "K600下行", trafficFlow: 673, largeCarRate: 0.22,
            range: '120.44766,36.1247,120.44749,36.12831,120.44783,36.13552,120.44783,36.1412,120.44731,36.14272,120.44025,36.16003,120.43079,36.19091,120.42786,36.19797,120.42769,36.20351,120.42941,36.20988,120.43233,36.21598,120.43182,36.23107,120.42906,36.23702,120.42837,36.24352,120.42958'},
        {warningTime: "08:31", highSpeedName: '青新高速', detailLocation: "K580上行", trafficFlow: 607, largeCarRate: 0.37,
            range: '119.65715,36.93811,119.6407,36.92552,119.63281,36.91511,119.62355,36.89427,119.62252,36.88576,119.61943,36.86875,119.60502,36.83335,119.60021,36.81467,119.58716'},
        {warningTime: "09:40", highSpeedName: '威青高速', detailLocation: "K200上行", trafficFlow: 603, largeCarRate: 0.28},
        {warningTime: "10:50", highSpeedName: '龙青高速', detailLocation: "K100上行", trafficFlow: 678, largeCarRate: 0.23},
        {warningTime: "12:30", highSpeedName: '沈海高速', detailLocation: "K300上行", trafficFlow: 623, largeCarRate: 0.24},
        {warningTime: "13:20", highSpeedName: '沈海高速', detailLocation: "K450下行", trafficFlow: 610, largeCarRate: 0.32},
        {warningTime: "14:30", highSpeedName: '荣潍高速', detailLocation: "K200上行", trafficFlow: 620, largeCarRate: 0.33},
        {warningTime: "15:40", highSpeedName: '新潍高速', detailLocation: "K400上行", trafficFlow: 691, largeCarRate: 0.32},
        {warningTime: "16:50", highSpeedName: '荣乌高速', detailLocation: "K400上行", trafficFlow: 611, largeCarRate: 0.39},
        {warningTime: "20:00", highSpeedName: '青兰高速', detailLocation: "K100上行", trafficFlow: 624, largeCarRate: 0.24},

    ];
    var dataServiceSummary = { // 勤务运行概览
        policeDeploymentNum: 1248,
        onDutyNum: 1005,
        notOnTimeNum: 80,
        onDutyRate: 90,

        post1:126,
        post2:15,
        police1:130,
        police2:22,
    };

    var dataXunluoPingJia = { // 动态勤务巡逻评价
        highRiskSectionRate: '0.5',
        highRiskPatrolCoverageRate: '0.8',
        highRiskTimeRate: '0.4',
    };
    var dataEnforcementEvaluate = { // 交通执法评价
        breakLawRate: 0.72,
        highRiskRate: 0.52,

        top5IllegalAct:[
            {num: 85, name: "撞车撞车撞车撞车"},
            {num: 70, name: 1},
            {num: 65, name: 2},
            {num: 60, name: 3},
            {num: 50, name: 4},
        ],
        top5highRisk: [
            {num: 85, name: '青银K240上行'},
            {num: 70, name: '青新K340上行'},
            {num: 65, name: '威青K540上行'},
            {num: 60, name: '新潍K340上行'},
            {num: 50, name: '青兰K440上行'},
        ]
    };
    var dataPatrolEvaluation = { // 事故处置评价

        accidentTotal: 87,
        previousYearTotalRate: 0.075,

        arrivaltime: 8.7,
        previousYearArrivalRate: '-0.075',

        excutetime: 12.3,
        previousYearExcuteRate: 0.085,
    };

// var data = {top5Check:[
//     {number: 评分, name: 部门名称}
//     ],
//     radar:[{accidentHandling:事故处理评分, comprehensiveScore: 综合评分,trafficLaw: 交通执法, dailyPatrol: 日常巡逻, leaderScore: 领导巡查, name: 部门名称}]};

    var dataBrigadeList = { // 勤务排名
        top5Check:[
            {number: 93, name: "同三大队"},
            {number: 80, name: "青平大队"},
            {number: 70, name: "潍莱大队"},
            {number: 60, name: "胶州湾大队"},
        ],
        radar:[
            {
                accidentHandling:40, comprehensiveScore: 20,trafficLaw: 50, dailyPatrol: 10, leaderScore: 30,
                name: '同三大队',
            },
            {
                accidentHandling:20, comprehensiveScore: 80,trafficLaw: 60, dailyPatrol: 58, leaderScore: 70,
                name: '青平大队',
            },
            {
                accidentHandling:67, comprehensiveScore: 32,trafficLaw: 36, dailyPatrol: 93, leaderScore: 25,
                name: '潍莱大队',
            },
            {
                accidentHandling:69, comprehensiveScore: 99,trafficLaw: 10, dailyPatrol: 40, leaderScore: 70,
                name: '胶州湾大队',
            },
            {
                accidentHandling:50, comprehensiveScore: 80,trafficLaw: 50, dailyPatrol: 80, leaderScore: 34,
                name: '胶州湾大队',
            }
        ]};

    var dataPatrolEvaluationDetailTable = [  //模态框巡逻评价table
        {id:0,beginTime:'2020/11/12',endTime:'2020/12/12',spaceTimeNum:480,highRiskSpaceNum:48,highRiskSectionRate:0.10,highRiskPatrolNum:46,highRiskPatrolCoverageRate:0.96,patroltimelong:100,highRiskPatrolTimeLong:50,highRiskTimeRate:0.50},
        {id:1,beginTime:'2020/12/11',endTime:'2021/01/12',spaceTimeNum:380,highRiskSpaceNum:59,highRiskSectionRate:0.14,highRiskPatrolNum:63,highRiskPatrolCoverageRate:0.75,patroltimelong:112,highRiskPatrolTimeLong:45,highRiskTimeRate:0.32},
        {id:2,beginTime:'2020/10/12',endTime:'2020/11/12',spaceTimeNum:580,highRiskSpaceNum:65,highRiskSectionRate:0.13,highRiskPatrolNum:23,highRiskPatrolCoverageRate:0.80,patroltimelong:120,highRiskPatrolTimeLong:60,highRiskTimeRate:0.43},
        {id:3,beginTime:'2020/09/12',endTime:'2020/10/12',spaceTimeNum:280,highRiskSpaceNum:32,highRiskSectionRate:0.20,highRiskPatrolNum:42,highRiskPatrolCoverageRate:0.78,patroltimelong:99,highRiskPatrolTimeLong:54,highRiskTimeRate:0.60},
    ];
    var dataHighRiskSection = [
        {id: 0, name: '沈海K580'},
        {id: 1, name: '龙青K520'},
        {id: 2, name: '龙青K440'},
        {id: 3, name: '青新K340'},
        {id: 4, name: '青兰K440'},
        {id: 5, name: '青兰K210'},
        {id: 6, name: '荣乌K320'},
        {id: 7, name: '新潍K430'},
        {id: 8, name: '荣潍K430'},
    ];
// {drivingdirection: 行驶方向, id:  路段id, name:  路段名称,
//     risklevel: 风险等级, timeinterval: 时段}
//     var dataPatrolEvaluationDetailskfb = [
//         {drivingdirection: 0, sectionid:  0, risklevel: 1, timeinterval: '02'},
//         {drivingdirection: 1, sectionid:  0, risklevel: 2, timeinterval: '04'},
//         {drivingdirection: 1, sectionid:  0, risklevel: 1, timeinterval: '08'},
//         {drivingdirection: 1, sectionid:  0, risklevel: 3, timeinterval: '23'},
//         {drivingdirection: 1, sectionid:  7, risklevel: 1, timeinterval: '23'},
//         {drivingdirection: 0, sectionid:  7, risklevel: 1, timeinterval: '23'},
//         {drivingdirection: 0, sectionid:  5, risklevel: 1, timeinterval: '23'},
//         {drivingdirection: 1, sectionid:  5, risklevel: 1, timeinterval: '23'},
//     ]
    //巡逻评价 - 高风险时段时空分布
    var dataPatrolEvaluationDetailskfb =[  //高风险时段时空分布
        {
            name: "沈海K580", skfb: [
                [{level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 1}, {level: 0, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }],
                [{level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
            ]
        },
        {
            name: "沈海K600", skfb: [
                [{level: 2, num: 8, cover: 1}, {level: 3, num: 8, cover: 1}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
                [{level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }],
            ]
        }, {
            name: "沈海K620", skfb: [
                [{level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 3, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
                [{level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }],
            ]
        },
        {
            name: "沈海K640", skfb: [
                [{level: 1, num: 8, cover: 1}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 1}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 2, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
                [{level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 3, num: 8, cover: 0}, {level: 3, num: 8, cover: 0}, {
                    level: 3,
                    num: 8,
                    cover: 0
                }, {level: 2, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 2,
                    num: 8,
                    cover: 0
                }, {level: 2, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
            ]
        }, {
            name: "沈海K660", skfb: [
                [{level: 1, num: 8, cover: 1}, {level: 1, num: 8, cover: 1}, {level: 1, num: 8, cover: 1}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 2,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
                [{level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {
                    level: 2,
                    num: 8,
                    cover: 0
                }, {level: 2, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {
                    level: 2,
                    num: 8,
                    cover: 0
                }, {level: 2, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
            ]
        },
        {
            name: "沈海K680", skfb: [
                [{level: 1, num: 8, cover: 1}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {
                    level: 2,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
                [{level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 7, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
            ]
        }, {
            name: "沈海K700", skfb: [
                [{level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }],
                [{level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 2, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {level: 1, num: 8, cover: 0}, {
                    level: 1,
                    num: 8,
                    cover: 0
                }, {level: 1, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {level: 0, num: 8, cover: 0}, {
                    level: 0,
                    num: 8,
                    cover: 0
                }],
            ]
        },

    ]
//
// {highTimeLong: 高风险巡逻时长, sectionid:  路段id, mileage: 巡逻公里数,
//     countTime: 统计时间, direction: 上行/下行, timeLong: 非高风险巡逻时长, name: 路段名称,
//     totalMileage: 总巡逻公里数}
    var dataPatrolEvaluationDetailgfxfgl = [ //高风险路段巡逻覆盖率
        {sectionid:  1, mileage: 23, direction: 0, name: '沈海K580', totalMileage: 100,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
        {sectionid:  1, mileage: 10, direction: 1, name: '沈海K580', totalMileage: 100,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
        {sectionid:  2, mileage: 50, direction: 0, name: '沈海K580', totalMileage: 60,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
        {sectionid:  2, mileage: 10, direction: 1, name: '沈海K580', totalMileage: 60,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
        {sectionid:  3, mileage: 32, direction: 0, name: '沈海K580', totalMileage: 80,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
        {sectionid:  3, mileage: 50, direction: 1, name: '沈海K580', totalMileage: 80,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
    ];
    var dataHighRiskRoadSectionCategory =  [ //高风险路段巡逻时长占比
        {countTime: "2020-10-08",timeLong: 120,highTimeLong: 120},
        {countTime: "2020-10-10",timeLong: 120,highTimeLong: 800},
        {countTime: "2020-10-12",timeLong: 150,highTimeLong: 120},
        {countTime: "2020-10-14",timeLong: 120,highTimeLong: 120},
        {countTime: "2020-10-16",timeLong: 20,highTimeLong: 120},
        {countTime: "2020-10-18",timeLong: 120,highTimeLong: 110},
    ];
    var dataPatrolEvaluationDetailxlsc = [
        {road: "沈海K580", skfb: [{all: 27, doN: 23}, {all: 26, doN: 21}]},
    ];

    if(!window.jmock){
        window.jmock = {}
    }
    var objs= {
        realJQ,
        dataExpresswaySummary,
        dataExpresswayTrafficFlow,
        dataSafetyWarningLine,

        dataSafetyWarninList,
        dataServiceSummary,
        dataXunluoPingJia,
        dataEnforcementEvaluate,
        dataPatrolEvaluation,
        dataHighRiskSection,
        dataBrigadeList,
        dataPatrolEvaluationDetailTable,
        dataPatrolEvaluationDetailskfb,
        dataPatrolEvaluationDetailgfxfgl,
        dataHighRiskRoadSectionCategory,
        dataPatrolEvaluationDetailxlsc,
    }
    Object.assign(window.jmock,objs)
    console.log(window.jmock)

})();
